package testes;

import java.io.File;
import java.io.PrintStream;

import javax.swing.JOptionPane;

public class ClassIniciante {
	public static void main(String[] args){
		PrintStream saidaErro=null;
			
			try {
				saidaErro = new PrintStream(new File("erro.txt"));
				//Digite seu codigo
				
				JOptionPane.showMessageDialog(null, "Estou executando");
				
				
				
			} catch (Exception e) {
				e.printStackTrace(saidaErro);
				
			}
	}

}
